package edu.scau.cxq.gp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 存储供应商信息
 * </p>
 *
 * @author CXQ
 * @since 2022-01-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_supplier")
public class Supplier implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 供应商编号
     */
    @TableId(value = "sup_id", type = IdType.AUTO)
    private Long supId;

    /**
     * 供应商名称
     */
    @TableField("sup_name")
    private String supName;

    /**
     * 供应商负责人
     */
    @TableField("sup_person_in_charge")
    private String supPersonInCharge;

    /**
     * 供应商电话
     */
    @TableField("sup_tel")
    private String supTel;

    /**
     * 供应商地址
     */
    @TableField("sup_address")
    private String supAddress;

    /**
     * 隐藏位2
     */
    @TableField("sup_hidden")
    private Integer supHidden;


}
